<!-- PARTIE CONTRAT AJOUTER TEMPLATE -->

<section id="content">
    
    
<!-- Tableau obligatoire ! Structure du calendrier ! -->
<table class="ds_box" cellpadding="0" cellspacing="0" id="ds_conclass" style="display: none;">
    <tr>
	<td id="ds_calclass"></td>
    </tr>
</table>

<!-- -->


<h1 class="article">{#NOUVEAU_CONTRAT#}</h1>

<form class="article" name="ContratAjouter" action="" method="post">
	{#TYPE_CONTRAT#} {#PLACEMENT#}
    <br/>
	<fieldset class="form-text">
    	<label>{#DATE#}<em>*</em></label>
        <input type="text" name="DateContrat" onClick="ds_sh(this);" value="{if isset($DateContrat)}{$DateContrat}{/if}" />
    </fieldset>
    <fieldset class="form-text">
    	<label>{#PERSONNE_NO#}<em>*</em></label>
        <input type="text" name="PersonneId" value="{if isset($PersonneId)}{$PersonneId}{/if}" />
    </fieldset>
    <fieldset class="form-text">
    	<label>{#LIEU#}<em>*</em></label>
        <input type="text" name="Lieu" value="{if isset($Lieu)}{$Lieu}{/if}" />
    </fieldset>
    <fieldset class="form-text">
    	<label>{#ANIMAL_NO#}<em>*</em></label>
        <input type="text" name="AnimalId" value="{if isset($AnimalId)}{$AnimalId}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#DATE_ARRIVEE#}<em>*</em></label>
        <input type="text" name="DateArrivee" onClick="ds_sh(this);" value="{if isset($DateArrivee)}{$DateArrivee}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#DATE_DEPART#}</label>
        <input type="text" name="DateDepart" onClick="ds_sh(this);" value="{if isset($DateDepart)}{$DateDepart}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#MONTANT_JOUR#}</label>
        <input type="text" name="MontantJour" value="{if isset($MontantJour)}{$MontantJour}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#SUPPLEMENT#}</label>
        <input type="text" name="Supplement" value="{if isset($Supplement)}{$Supplement}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#DATE_PAIEMENT#}</label>
        <input type="text" name="DatePaiement" onClick="ds_sh(this);" value="{if isset($DatePaiement)}{$DatePaiement}{/if}" />
	</fieldset>
    <fieldset class="form-text">
    	<label>{#VETERINAIRE_PRIVE#}</label>
        <input type="text" name="VetoPrive" value="{if isset($VetoPrive)}{$VetoPrive}{/if}" />
	</fieldset>

    <input type="reset" value="Annuler" name="Annuler" onclick="{literal};javascript:return confirm('{/literal}{#MESSAGE_ANNULER#}{literal}'){/literal}" />
    
  {if isset($animal)}<input type="submit" class="submit" name="modifierContrat" value="{#MODIFIER#}" />{else}<input type="submit" class="submit" name="ajouterContrat" value="{#ENREGISTRER#}" />{/if}
</form>
        
</section>